﻿using UnityEngine;

namespace UniBrickCommon.Packets
{
    public class UpdatePacket
    {
        public class Request
        {
            public readonly string Position;
            public readonly string Rotation;

            public Request(string position, string rotation)
            {
                Position = position;
                Rotation = rotation;
            }
        }

        public class Event
        {
            public readonly string Username;
            public readonly string Position;
            public readonly string Rotation;

            public Event(string username, string position, string rotation)
            {
                Username = username;
                Position = position;
                Rotation = rotation;
            }
        }
    }
}